export default{
    antd:{},
    dva:{},
    //在 umi 中，约定的存放页面代码的文件夹是 pages，是复数，
    //不过如果你喜欢单数的话你配置项中你可以添加 singular 为 true 来让 page 变为约定的文件夹
    singular: true,
    // proxy: {
    //     '/dev': {
    //       target: 'https://08ad1pao69.execute-api.us-east-1.amazonaws.com',
    //       changeOrigin: true,
    //     },
    // },
    routes: [
        {
            path: '/',
            component: '../layout',
            routes: [
                {
                    path: '/',
                    component: 'Helloworld',
                  },
                  { path: 'puzzlecards', component: './puzzlecards' },
                  { path: 'list', component: '../page/list' },
                  {
                    path: '/helloworld',
                    component: 'Helloworld'
                  },
                  {
                    path: '/dashboard',
                    routes: [
                      { path: '/dashboard/analysis', component: 'Dashboard/Analysis' },
                      { path: '/dashboard/monitor', component: 'Dashboard/Monitor' },
                      { path: '/dashboard/workplace', component: 'Dashboard/Workplace' }
                    ]
                  },
            ]
        }

    ],
};